package webApiEntities.Requests;

import java.util.ArrayList;

import entities.Entity;
import bl.EntityManager;
import webApiEntities.MessageType;

public abstract class BasicRequestMessage implements IRequestMessage {
	public MessageType Requested;
	public ArrayList<Class<?>> ByType;
	public ArrayList<ArrayList<Entity>> ByObj;
	
	protected transient EntityManager _moviemeBL;
	
	public BasicRequestMessage(MessageType requested, ArrayList<Class<?>> byType,
			ArrayList<ArrayList<Entity>> byObj) {
		super();
		Requested = requested;
		ByType = byType;
		ByObj = byObj;
		_moviemeBL = EntityManager.getInstance();
	}
	
	public MessageType getRequested() {
		return Requested;
	}
	public ArrayList<Class<?>> getByType() {
		return ByType;
	}
	public ArrayList<ArrayList<Entity>> getByObj() {
		return ByObj;
	}

	public void setRequested(MessageType requested) {
		Requested = requested;
	}
	public void setByID(ArrayList<Class<?>> byType) {
		ByType = byType;
	}
	public void setByObj(ArrayList<ArrayList<Entity>> byObj) {
		ByObj = byObj;
	}


}
